package com.wondersgroup.esclient.emen;

/**
 * 查询类型
 * match-模糊匹配 
 * term-精确匹配 
 * range-范围查询
 * 
 * @author Walker
 *
 */
public enum QueryType {
	
	MATCH("match","模糊匹配"),
	TERM("term","精确匹配"),
	RANGE("range","范围查询");

	private String code;
	private String value;

	QueryType(String code, String value) {
        this.code = code;
        this.value = value;
    }

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
	
	
}
